<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/page_init.jsp"%>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>日志查看</title>
    <%--<script type="text/javascript" src="<%=contextPath%>/js/common/bootstrap-3.3.7/js/bootstrap.min.js"></script>--%>
    <link rel="stylesheet" type="text/css"
          href="<%=contextPath%>/css/logger/logger.css?random=<%=RANDOM%>"/>
    <script type="text/javascript" src="<%=contextPath%>/js/console/common/comboboxUtil.js?random=<%=RANDOM%>"></script>
    <script type="text/javascript" src="<%=contextPath%>/js/console/logConsole/realtime.js?random=<%=RANDOM%>"></script>


</head>
<body STYLE="overflow: hidden;">
<div data-options="region:'north',border:false" style="height:60px;">
    <div class="easyui-panel" style="padding:5px;width:100%;">
        <div class="shearch-nav">
            <label><span>应用:</span>
                <input id="appCode" name="appCode" class="width-130 easyui-combobox"/>
            </label>
            <label><span>节点:</span>
                <input id="nodeCode" name="nodeCode" class="width-130 easyui-combobox"/>
            </label>
            <label><span>任务:</span>
                <input id="taskCode" name="taskCode" class="width-130 easyui-combobox"/>
            </label>
            <label><span>日志等级:</span>
                <input id="level" name="level" class="width-130 easyui-combobox" data-options="
                        valueField: 'value',
                        textField: 'label',
                        panelHeight:　'auto',
                        editable:false,
                        data: [
                        {
                            label: 'debug',
                            value: 'debug'
                        },{
                            label: 'info',
                            value: 'info',
                        },{
                            label: 'warn',
                            value: 'warn'
                        },{
                            label: 'error',
                            value: 'error'
                        }]" />
            </label>
            <label style="float: right;margin-top: 4px;">
                <a href="#" class="easyui-linkbutton" id="clearBtn"
                   data-options="iconCls:'icon-reload'" style="width:80px">清空</a>
            </label>
            <label style="float: right;margin-top: 4px;">
                <a href="#" class="easyui-linkbutton" id="pauseBtn"
                   data-options="iconCls:'icon-pause'" style="width:80px">暂停</a>
            </label>

        </div>
    </div>
    <div  id="log_list_div" data-options="region:'center',border:false" class="realTimeLogDiv" >
    </div>
</div>
<%--日志详细信息弹框--%>
<div id="logDialog-dlg">
    <div id="showDialog">
    </div>
</div>
</body>
</html>